package com.ruoyi.xuexiao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.xuexiao.domain.entity.ZdKz;
import com.ruoyi.xuexiao.service.ZdKzService;
import com.ruoyi.xuexiao.mapper.ZdKzMapper;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 矿种字典Service实现层
 *
 * @author 齐浩宽
 * @since 2024年5月23日22:18:41
 */
@Service
@AllArgsConstructor
public class ZdKzServiceImpl extends ServiceImpl<ZdKzMapper, ZdKz> implements ZdKzService {

    private final ZdKzMapper zdKzMapper;

    /**
     * 获取全部矿种
     *
     * @author 郭梓强
     * @since 2024年5月28日8:33:13
     */
    @Override
    public List<ZdKz> selZdKz(ZdKz jgZdKz) {
        return zdKzMapper.selGrouping();//返回
    }
}
